package adv5;

import java.io.*;

import adv3.Sex;
import adv3.Student;

public class FanxuliehuaStudent {

	public static void main(String[] args) {
		try {
			ObjectInputStream oin = new ObjectInputStream(new FileInputStream("E:/Temp/student.txt"));
			Student s = (Student) oin.readObject();
			oin.close();
			System.out.println(s);
			System.out.println("over");
		} catch (Exception e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		}
	}

}
